package com.siyu.preplan.service;

import com.siyu.common.core.domain.AjaxResult;
import com.siyu.preplan.dto.PlanPDepotDto;
import com.siyu.preplan.planpdtml.domain.PlanPDtml;
import com.siyu.preplan.planpplan.domain.PlanPPlan;
import com.siyu.preplan.vo.PlanPMaterialVo;
import com.siyu.preplan.vo.PlanPPlanVo;
import com.siyu.preplan.vo.PlanSummaryVo;

import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.List;

public interface PlanPeService {
    PlanPPlanVo getPlanPPlanVos(String id, Integer planLevel);

    PlanPMaterialVo getPlanPMaterialVo(String id, Integer planLevel);

    PlanSummaryVo getPlanSummaryVo(String rscd);

    AjaxResult getView(String id, Integer planLevel);

    void delete(List<String> ids) throws MalformedURLException;

    AjaxResult getDepot(String id);

    void edit(List<PlanPDepotDto> planPDepotDto);

    void materialedit(List<PlanPDtml> planPDtml);

    AjaxResult deletedepot(List<String> ids);

    AjaxResult deletematerial(List<String> ids);

    AjaxResult getListdepot(String rscd);

}
